home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmRRect
- Caption = "Round Rectangle"
- ClientHeight = 1470
- ClientLeft = 6435
- ClientTop = 2910
- ClientWidth = 3465
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1470
- ScaleWidth = 3465
- Begin VB.TextBox txtRoundness
- Height = 285
- Left = 1680
- TabIndex = 3
- Text = "50"
- Top = 240
- Width = 615
- End
- Begin VB.CommandButton cmdOK
- Caption = "OK"
- Height = 375
- Left = 240
- TabIndex = 0
- Top = 840
- Width = 1335
- End
- Begin VB.CommandButton cmdCancel
- Caption = "Cancel"
- Height = 375
- Left = 1920
- TabIndex = 1
- Top = 840
- Width = 1215
- End
- Begin VB.Label Label1
- Caption = "Roundness"
- Height = 375
- Left = 240
- TabIndex = 2
- Top = 240
- Width = 1095
- End
- Attribute VB_Name = "frmRRect"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- '/******************************************************************/
- '/* */
- '/* TurboCAD for Windows */
- '/* Copyright (c) 1993 - 2001 */
- '/* International Microcomputer Software, Inc. */
- '/* (IMSI) */
- '/* All rights reserved. */
- '/* */
- '/******************************************************************/
- ' Storage for read-only property indicating whether
- ' or not the dialog box was cancelled. Default is
- ' False. Note that the declaration is Private, so
- ' that the value cannot be set from the OLE client
- ' application. The client reads the value using the
- ' DialogCancelled property.
- Private blnDialogCanceled As Boolean
- ' Read-only property indicating cancellation of the
- ' dialog.
- Property Get DialogCanceled() As Boolean
- DialogCanceled = blnDialogCanceled
- End Property
- Private Sub cmdCancel_Click()
- ' Set the value of the read-only property that
- ' tells the caller the dialog was cancelled.
- blnDialogCanceled = True
- Me.Hide
- End Sub
- Private Sub cmdOK_Click()
- Me.Hide
- End Sub
-